tic tac toe game in python for beginners